Skip to content

Add restart language server command#12952

Merged
jakebailey merged 3 commits into
microsoft:masterfrom
jakebailey:restart-ls-command
Aug 4, 2020
Merged

Add restart language server command#12952
jakebailey merged 3 commits into
microsoft:masterfrom
jakebailey:restart-ls-command

Conversation

@jakebailey

@jakebailey jakebailey commented Jul 14, 2020

Copy link
Copy Markdown
Member

For #3073

Uses the existing language server restarting mechanism, which is already used for things like interpreter changes and such.

  • Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
  • Title summarizes what is changing.
  • Has a news entry file (remember to thank yourself!).
  • Appropriate comments and documentation strings in the code.
  • Has sufficient logging.
  • Has telemetry for enhancements.
  • Unit tests & system/integration tests are added/updated.
  • Test plan is updated as appropriate.
  • package-lock.json has been regenerated by running npm install (if dependencies have changed).
  • The wiki is updated with any design decisions/details.

@luabud

luabud commented Jul 14, 2020

Copy link
Copy Markdown
Member

command name LGTM

@Hubro

Hubro commented Jul 19, 2020

Copy link
Copy Markdown

Yes! Please somebody tag someone with write access to review this, I have been annoyed by the absence of this command for so long.

@jakebailey Oh I just noticed you're on the language server team, never mind me then. You got this :)

@sonarqubecloud

sonarqubecloud Bot commented Aug 3, 2020

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@codecov-commenter

codecov-commenter commented Aug 3, 2020

Copy link
Copy Markdown

Codecov Report

Merging #12952 into master will decrease coverage by 0.03%.
The diff coverage is 57.14%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #12952      +/-   ##
==========================================
- Coverage   59.81%   59.78%   -0.04%     
==========================================
  Files         670      670              
  Lines       37163    37183      +20     
  Branches     5264     5265       +1     
==========================================
- Hits        22230    22228       -2     
- Misses      13805    13824      +19     
- Partials     1128     1131       +3     
Impacted Files Coverage Δ
src/client/activation/node/manager.ts 27.86% <33.33%> (+1.08%) ⬆️
src/client/activation/languageServer/manager.ts 81.15% <66.66%> (-1.66%) ⬇️
src/client/activation/activationService.ts 89.72% <100.00%> (ø)
src/client/activation/commands.ts 100.00% <100.00%> (ø)
src/client/common/utils/platform.ts 64.70% <0.00%> (-11.77%) ⬇️
src/client/datascience/crossProcessLock.ts 79.41% <0.00%> (-11.77%) ⬇️
...datascience/interactive-common/notebookProvider.ts 50.58% <0.00%> (-4.68%) ⬇️
src/client/linters/pydocstyle.ts 86.66% <0.00%> (-2.23%) ⬇️
src/client/datascience/debugLocationTracker.ts 76.56% <0.00%> (-1.57%) ⬇️
src/client/common/process/proc.ts 14.49% <0.00%> (-0.73%) ⬇️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 00451e1...8b28240. Read the comment docs.

@karrtikr
karrtikr self-requested a review August 4, 2020 21:06

@karrtikr karrtikr left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants